package com.nulldev.util.java.scripting.nscript;

public class nScriptInstruction {
	private final String instruction;
    private final String[] args;
    private final int lineNumber;

    public nScriptInstruction(final String instruction, final String[] args, final int lineNumber) {
        this.instruction = instruction;
        this.lineNumber = lineNumber;
        this.args = args;
    }
    
    public String getInstruction() {
        return instruction;
    }
    
    public String[] getArgs() {
        return args;
    }

    public int getLine() {
        return lineNumber;
    }
}
